package com.quanyan.authority.mapper.base;

import com.lefu.commons.utils.Page;
import com.quanyan.authority.model.db.TbFunction;
import com.quanyan.authority.model.request.ReqBaseParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2016/7/29.
 */
public interface IMapper<T> {

    /**
     * 分页查询
     * @param page
     * @param map
     * @return
     */
    public List<T> findAll(@Param("page")Page page,@Param("record") Map<String,Object> map);
}
